.class Lcom/waiqin365/base/login/bw;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/base/login/LoginMainActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/base/login/LoginMainActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/base/login/bw;->a:Lcom/waiqin365/base/login/LoginMainActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 5

    const v4, 0x7f040022

    const v3, 0x7f040021

    packed-switch p3, :pswitch_data_0

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/base/login/bw;->a:Lcom/waiqin365/base/login/LoginMainActivity;

    # getter for: Lcom/waiqin365/base/login/LoginMainActivity;->addPopupWindow:Landroid/widget/PopupWindow;
    invoke-static {v0}, Lcom/waiqin365/base/login/LoginMainActivity;->access$4600(Lcom/waiqin365/base/login/LoginMainActivity;)Landroid/widget/PopupWindow;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/base/login/bw;->a:Lcom/waiqin365/base/login/LoginMainActivity;

    # getter for: Lcom/waiqin365/base/login/LoginMainActivity;->addPopupWindow:Landroid/widget/PopupWindow;
    invoke-static {v0}, Lcom/waiqin365/base/login/LoginMainActivity;->access$4600(Lcom/waiqin365/base/login/LoginMainActivity;)Landroid/widget/PopupWindow;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/PopupWindow;->dismiss()V

    :cond_0
    return-void

    :pswitch_0
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/base/login/bw;->a:Lcom/waiqin365/base/login/LoginMainActivity;

    const-class v2, Lcom/waiqin365/lightapp/im/contactlist/ContactListActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    iget-object v1, p0, Lcom/waiqin365/base/login/bw;->a:Lcom/waiqin365/base/login/LoginMainActivity;

    invoke-virtual {v1, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->startActivity(Landroid/content/Intent;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/bw;->a:Lcom/waiqin365/base/login/LoginMainActivity;

    invoke-virtual {v0, v4, v3}, Lcom/waiqin365/base/login/LoginMainActivity;->overridePendingTransition(II)V

    goto :goto_0

    :pswitch_1
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/base/login/bw;->a:Lcom/waiqin365/base/login/LoginMainActivity;

    const-class v2, Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v1, "comeFlag"

    const-string/jumbo v2, "newgroup"

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/base/login/bw;->a:Lcom/waiqin365/base/login/LoginMainActivity;

    invoke-virtual {v1, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->startActivity(Landroid/content/Intent;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/bw;->a:Lcom/waiqin365/base/login/LoginMainActivity;

    invoke-virtual {v0, v4, v3}, Lcom/waiqin365/base/login/LoginMainActivity;->overridePendingTransition(II)V

    goto :goto_0

    :pswitch_2
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/base/login/bw;->a:Lcom/waiqin365/base/login/LoginMainActivity;

    const-class v2, Lcom/waiqin365/lightapp/im/activity/CustomServiceChatActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v1, "toChatUsername"

    const-string/jumbo v2, "waiqin365kefu"

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "userId"

    const-string/jumbo v2, "waiqin365kefu"

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "userName"

    sget-object v2, Lcom/waiqin365/lightapp/im/a;->q:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "pic_url"

    const-string/jumbo v2, ""

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/base/login/bw;->a:Lcom/waiqin365/base/login/LoginMainActivity;

    const-string/jumbo v2, "kefu_show"

    invoke-static {v1, v2}, Lcom/fiberhome/gaea/client/d/a;->a(Landroid/content/Context;Ljava/lang/String;)V

    iget-object v1, p0, Lcom/waiqin365/base/login/bw;->a:Lcom/waiqin365/base/login/LoginMainActivity;

    const/16 v2, 0x6d

    invoke-virtual {v1, v0, v2}, Lcom/waiqin365/base/login/LoginMainActivity;->startActivityForResult(Landroid/content/Intent;I)V

    iget-object v0, p0, Lcom/waiqin365/base/login/bw;->a:Lcom/waiqin365/base/login/LoginMainActivity;

    invoke-virtual {v0, v4, v3}, Lcom/waiqin365/base/login/LoginMainActivity;->overridePendingTransition(II)V

    goto/16 :goto_0

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
        :pswitch_2
    .end packed-switch
.end method
